#include<bits/stdc++.h>
using namespace std;
int main()
{
//	char name[20];
//	gets(name);
	string name;
	cin>>name;
	int birth;
	cin>>birth;
	int old=2017-birth;
	cout<<"My name is "<<name<<'.'<<endl;
	cout<<"I am "<<old<<" years old."<<endl;
	return 0;
}
